﻿// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_PRODUCT_TECHNIC_ITEM
// * CreateDate    : 2013-02-20 19:49:46
// * Creater       : CodeSmith
// * LastChangeDate: 2013-02-20 19:49:46
// * LastChanger   : 2013-02-20 19:49:46
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class ProdProductTechnicItemTable : TableInfo
    {
        public const string C_TableName = "PROD_PRODUCT_TECHNIC_ITEM";

        public const string C_PRODUCT_TECHNIC_ITEM_ID = "PRODUCT_TECHNIC_ITEM_ID";
        public const string C_PRODUCT_TECHNIC_ID = "PRODUCT_TECHNIC_ID";
        public const string C_GROUP_PERSON = "GROUP_PERSON";
        public const string C_QTY = "QTY";
        public const string C_PLAN_STARTTIME = "PLAN_STARTTIME";
        public const string C_PLAN_ENDTIME = "PLAN_ENDTIME";
        public const string C_WORKCENTER_CODE = "WORKCENTER_CODE";
        public const string C_WORKCENTER_NAME = "WORKCENTER_NAME";
        public const string C_WORKING_TIME = "WORKING_TIME";
        public const string C_TIME_COEFFICIENT = "TIME_COEFFICIENT";

        public ProdProductTechnicItemTable()
        {
            _tableName = "PROD_PRODUCT_TECHNIC_ITEM";
        }

        protected static ProdProductTechnicItemTable _current;
        public static ProdProductTechnicItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new ProdProductTechnicItemTable();

            _current.Add(C_PRODUCT_TECHNIC_ITEM_ID, new ColumnInfo(C_PRODUCT_TECHNIC_ITEM_ID, "ProductTechnicItemId", true, typeof(string)));
            _current.Add(C_PRODUCT_TECHNIC_ID, new ColumnInfo(C_PRODUCT_TECHNIC_ID, "ProductTechnicId", false, typeof(string)));
            _current.Add(C_GROUP_PERSON, new ColumnInfo(C_GROUP_PERSON, "GroupPerson", false, typeof(string)));
            _current.Add(C_QTY, new ColumnInfo(C_QTY, "Qty", false, typeof(decimal)));
            _current.Add(C_PLAN_STARTTIME, new ColumnInfo(C_PLAN_STARTTIME, "PlanStarttime", false, typeof(DateTime)));
            _current.Add(C_PLAN_ENDTIME, new ColumnInfo(C_PLAN_ENDTIME, "PlanEndtime", false, typeof(DateTime)));
            _current.Add(C_WORKCENTER_CODE, new ColumnInfo(C_WORKCENTER_CODE, "WorkcenterCode", false, typeof(string)));
            _current.Add(C_WORKCENTER_NAME, new ColumnInfo(C_WORKCENTER_NAME, "WorkcenterName", false, typeof(string)));
            _current.Add(C_WORKING_TIME, new ColumnInfo(C_WORKING_TIME, "WorkingTime", false, typeof(decimal)));
            _current.Add(C_TIME_COEFFICIENT, new ColumnInfo(C_TIME_COEFFICIENT, "TimeCoefficient", false, typeof(decimal)));

        }

        public ColumnInfo PRODUCT_TECHNIC_ITEM_ID
        {
            get { return this[C_PRODUCT_TECHNIC_ITEM_ID]; }
        }

        public ColumnInfo PRODUCT_TECHNIC_ID
        {
            get { return this[C_PRODUCT_TECHNIC_ID]; }
        }

        public ColumnInfo GROUP_PERSON
        {
            get { return this[C_GROUP_PERSON]; }
        }

        public ColumnInfo QTY
        {
            get { return this[C_QTY]; }
        }

        public ColumnInfo PLAN_STARTTIME
        {
            get { return this[C_PLAN_STARTTIME]; }
        }

        public ColumnInfo PLAN_ENDTIME
        {
            get { return this[C_PLAN_ENDTIME]; }
        }

        public ColumnInfo WORKCENTER_CODE
        {
            get { return this[C_WORKCENTER_CODE]; }
        }

        public ColumnInfo WORKCENTER_NAME
        {
            get { return this[C_WORKCENTER_NAME]; }
        }

        public ColumnInfo WORKING_TIME
        {
            get { return this[C_WORKING_TIME]; }
        }

        public ColumnInfo TIME_COEFFICIENT
        {
            get { return this[C_TIME_COEFFICIENT]; }
        }



    }
}

